package com.rem.spring.bean;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * @author Rem
 * @date 2023-02-28
 */
@Configuration
@ComponentScan({"com.rem.spring"})
public class Config {

    @Bean
    public User user() {
        return new User();
    }
}
